home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / uidef / ListBoxModern.def < prev    next >
Encoding:
Text File  |  2005-12-20  |  8.8 KB  |  307 lines

  1. !Include("UI.def")
  2.  
  3. ControlObject("UIListBoxModern","ListBoxModern","Pattern")
  4. {
  5.     ListBoxCapacity(11)
  6.     Command(1)
  7.     Notify(1)
  8.     CanFocus(1)
  9.     TextureFocusAlpha(1.0)
  10.     TextFocusAlpha(1.0)
  11.     SelKeyUp(0)
  12.     SelKeyDown(0)
  13.     Text("")
  14.     TextAlpha(1.0)
  15. //    TextColor(1.0,1.0,1.0)
  16.     TextColor(1.0,0.61,0.02)
  17.     Font("MenuSmall")
  18.     FontScale(0.5)
  19.     TextPosFlags(34)
  20.     PatternFile("../uidef/ListBoxModern.def")
  21.     Mouse(1)
  22.     Keyboard(1)
  23.     Joy(1)
  24.     Visible(1)
  25.     ParentPositioning(1)
  26.     PreviousElemPositioning(0)
  27.     ParentAlignX(4)
  28.     ParentAlignY(4)
  29.     ParentSizingX(0)
  30.     ParentSizingY(0)
  31.     TextureAlpha(1.0)
  32.     LogicSize(0.4325,0.64)
  33.     LogicPos(-172.0,-191.0)
  34.  
  35.     Menu("UIMenu","ID_LIST","Specific")
  36.     {
  37.         Command(1)
  38.         Notify(1)
  39.         CanFocus(1)
  40.         TextureFocusAlpha(1.0)
  41.         TextFocusAlpha(1.0)
  42.         SelKeyUp(0)
  43.         SelKeyDown(0)
  44.         Text("")
  45.         TextAlpha(1.0)
  46. //        TextColor(1.0,1.0,1.0)
  47.         TextColor(1.0,0.61,0.02)
  48.         Font("MSSansSerif8")
  49.         TextPosFlags(34)
  50.         PatternFileElem()
  51.         Mouse(1)
  52.         Keyboard(1)
  53.         Joy(1)
  54.         Visible(1)
  55.         ParentPositioning(1)
  56.         PreviousElemPositioning(0)
  57.         ParentAlignX(-1)
  58.         ParentAlignY(4)
  59.         ParentSizingX(0)
  60.         ParentSizingY(0)
  61.         FrameCornerSize(0,0)
  62. //        TextureID("BoxNoBack")
  63.         TextureAlpha(1.0)
  64.         LogicSize(0.415,0.54)
  65.         LogicPos(0.0,0.0)
  66.  
  67.         MenuButton("UIMenuButton","ID_BUTTON","","","Specific")
  68.         {
  69.             Checked(0)
  70.             Disabled(0)
  71.             CanCallPress(0)
  72.             CanCheck(1)
  73.             MouseLeaveDestroyFocus(1)
  74.             CheckSound("data/sounds/click")
  75. //            TextureCheckedID("BoxWhiteBack")
  76. //            TextureCheckedID("BoxNoBack")
  77.             TextureCheckedID("BoxNoBackWhite")
  78.             TextureCheckedAlpha(1.0)
  79.             TextCheckedAlpha(1.0)
  80.             TextureDisabledAlpha(1.0)
  81.             TextDisabledAlpha(1.0)
  82.             TextureFocusCheckAlpha(1.0)
  83.             TextFocusCheckAlpha(1.0)
  84. //            TextCheckedColor(1.0,1.0,1.0)
  85.             TextCheckedColor(1.0,0.61,0.02)
  86.             CallPressPeriod(0.1)
  87.             DoubleClick(0.3)
  88.             Command(1)
  89.             Notify(0)
  90.             CanFocus(0)
  91.             TextureFocusAlpha(1.0)
  92.             TextFocusAlpha(1.0)
  93. //            TextHighLightColor(1.0,1.0,1.0)
  94.             TextHighLightColor(1.0,0.61,0.02)
  95.             SelKeyUp(0)
  96.             SelKeyDown(0)
  97.             FocusSound("data/sounds/highlight")
  98.             Text("")
  99.             TextAlpha(1.0)
  100. //            TextColor(1.0,1.0,1.0)
  101.         TextColor(1.0,0.61,0.02)
  102.             Font("TextFont")
  103.             TextPosFlags(34)
  104.             PatternFileElem()
  105.             Mouse(1)
  106.             Keyboard(1)
  107.             Joy(1)
  108.             Visible(0)
  109.             ParentPositioning(1)
  110.             PreviousElemPositioning(0)
  111.             ParentAlignX(-1)
  112.             ParentAlignY(-1)
  113.             ParentSizingX(0)
  114.             ParentSizingY(0)
  115.             FrameCornerSize(2,2)
  116.             TextureAlpha(1.0)
  117.             LogicSize(0.415,0.053333335)
  118.             LogicPos(0.0,0.0)
  119.         }// [UIMenuButton] ID_BUTTON
  120.     }// [UIMenu] ID_LIST
  121.  
  122.     ControlObject("UIListBoxScrollBar","ID_SCROLL","Specific")
  123.     {
  124.         Command(1)
  125.         Notify(1)
  126.         CanFocus(0)
  127.         TextureFocusAlpha(1.0)
  128.         TextFocusAlpha(1.0)
  129.         SelKeyUp(0)
  130.         SelKeyDown(0)
  131.         Text("")
  132.         TextAlpha(1.0)
  133. //        TextColor(1.0,1.0,1.0)
  134.         TextColor(1.0,0.61,0.02)
  135.         Font("MSSansSerif8")
  136.         TextPosFlags(34)
  137.         PatternFileElem()
  138.         Mouse(1)
  139.         Keyboard(1)
  140.         Joy(1)
  141.         Visible(0)
  142.         ParentPositioning(1)
  143.         PreviousElemPositioning(0)
  144.         ParentAlignX(-1)
  145.         ParentAlignY(4)
  146.         ParentSizingX(0)
  147.         ParentSizingY(0)
  148.         FrameCornerSize(2,2)
  149.         TextureID("BoxNoBack")
  150.         TextureAlpha(1.0)
  151.         LogicSize(0.01875,0.54)
  152.         LogicPos(0.95953757,0.0)
  153.     }// [UIListBoxScrollBar] ID_SCROLL
  154.  
  155.     Button("UIButton","ID_UP","","Specific")
  156.     {
  157.         Checked(0)
  158.         Disabled(0)
  159.         CanCallPress(0)
  160.         CanCheck(0)
  161.         MouseLeaveDestroyFocus(1)
  162.         CheckSound("data/sounds/click")
  163. //        TextureCheckedID("ArrowSmallUp")
  164.         TextureCheckedID("ArrowSmallUpModern")
  165.         TextureCheckedAlpha(1.0)
  166.         TextCheckedAlpha(1.0)
  167.         TextureDisabledAlpha(0.4)
  168.         TextDisabledAlpha(1.0)
  169.         TextureFocusCheckAlpha(1.0)
  170.         TextFocusCheckAlpha(1.0)
  171.         CallPressPeriod(0.1)
  172.         DoubleClick(0.3)
  173.             Command(1)
  174.             Notify(1)
  175.             CanFocus(1)
  176.             TextureFocusAlpha(1.0)
  177.             TextFocusAlpha(1.0)
  178.             SelKeyUp(0)
  179.             SelKeyDown(0)
  180.             FocusSound("data/sounds/highlight")
  181.             Text("")
  182.             TextAlpha(1.0)
  183. //            TextColor(1.0,1.0,1.0)
  184.         TextColor(1.0,0.61,0.02)
  185.             Font("MenuSmall")
  186.             FontScale(0.5)
  187.             TextPosFlags(34)
  188.             PatternFileElem()
  189.             Mouse(1)
  190.             Keyboard(1)
  191.             Joy(1)
  192.             Visible(1)
  193.             ParentPositioning(1)
  194.             PreviousElemPositioning(0)
  195.             ParentAlignX(4)
  196.             ParentAlignY(-1)
  197.             ParentSizingX(0)
  198.             ParentSizingY(0)
  199. //            TextureID("ArrowSmallUp")
  200.             TextureID("ArrowSmallUpModern")
  201.             TextureAlpha(0.8)
  202.             LogicSize(0.10449219, 0.024739584)
  203.             LogicPos(0.3792325, -0.05487805)
  204.         }// [UIButton] ID_UP
  205.  
  206.         Button("UIButton","ID_THUMB","","Specific")
  207.         {
  208.             Checked(0)
  209.             Disabled(1)
  210.             CanCallPress(0)
  211.             CanCheck(0)
  212.             MouseLeaveDestroyFocus(1)
  213.             CheckSound("data/sounds/click")
  214.             TextureCheckedAlpha(0.0)
  215.             TextCheckedAlpha(0.0)
  216.             TextureDisabledAlpha(0.0)
  217.             TextDisabledAlpha(0.0)
  218.             TextureFocusCheckAlpha(0.0)
  219.             TextFocusCheckAlpha(0.0)
  220.             CallPressPeriod(0.1)
  221.             DoubleClick(0.3)
  222.             Command(1)
  223.             Notify(1)
  224.             CanFocus(0)
  225.             TextureFocusAlpha(0.0)
  226.             TextFocusAlpha(0.0)
  227.             SelKeyUp(0)
  228.             SelKeyDown(0)
  229.             FocusSound("data/sounds/highlight")
  230.             Text("")
  231.             TextAlpha(0.0)
  232. //            TextColor(1.0,1.0,1.0)
  233.         TextColor(1.0,0.61,0.02)
  234.             Font("MSSansSerif8")
  235.             TextPosFlags(34)
  236.             PatternFileElem()
  237.             Mouse(0)
  238.             Keyboard(0)
  239.             Joy(0)
  240.             Visible(0)
  241.             ParentPositioning(1)
  242.             PreviousElemPositioning(0)
  243.             ParentAlignX(4)
  244.             ParentAlignY(-1)
  245.             ParentSizingX(0)
  246.             ParentSizingY(0)
  247.             FrameCornerSize(0,0)
  248.             TextureID("BoxFilled")
  249.             TextureAlpha(0.8)
  250.             //LogicSize(0.01375,0.0)
  251.         LogicSize(0.0,0.0)
  252.             LogicPos(0.13333333,0.026041666)
  253.         }// [UIButton] ID_THUMB
  254.  
  255.         Button("UIButton","ID_DOWN","","Specific")
  256.         {
  257.             Checked(0)
  258.             Disabled(0)
  259.             CanCallPress(0)
  260.             CanCheck(0)
  261.             MouseLeaveDestroyFocus(1)
  262.             CheckSound("data/sounds/click")
  263. //            TextureCheckedID("ArrowSmallDown")
  264.             TextureCheckedID("ArrowSmallDownModern")
  265.             TextureCheckedAlpha(1.0)
  266.             TextCheckedAlpha(1.0)
  267.             TextureDisabledAlpha(0.4)
  268.             TextDisabledAlpha(1.0)
  269.             TextureFocusCheckAlpha(1.0)
  270.             TextFocusCheckAlpha(1.0)
  271.             CallPressPeriod(0.1)
  272.             DoubleClick(0.3)
  273.             Command(1)
  274.             Notify(1)
  275.             CanFocus(1)
  276.             TextureFocusAlpha(1.0)
  277.             TextFocusAlpha(1.0)
  278.             SelKeyUp(0)
  279.             SelKeyDown(0)
  280.             FocusSound("data/sounds/highlight")
  281.             Text("")
  282.             TextAlpha(1.0)
  283. //            TextColor(1.0,1.0,1.0)
  284.         TextColor(1.0,0.61,0.02)
  285.             Font("MenuSmall")
  286.             FontScale(0.5)
  287.             TextPosFlags(34)
  288.             PatternFileElem()
  289.             Mouse(1)
  290.             Keyboard(1)
  291.             Joy(1)
  292.             Visible(1)
  293.             ParentPositioning(1)
  294.             PreviousElemPositioning(0)
  295.             ParentAlignX(4)
  296.             ParentAlignY(-1)
  297.             ParentSizingX(0)
  298.             ParentSizingY(0)
  299. //            TextureID("ArrowSmallDown")
  300.             TextureID("ArrowSmallDownModern")
  301.             TextureAlpha(0.8)
  302.             LogicSize(0.10449219, 0.024739584)
  303.             LogicPos(0.035714287, 1.01)
  304.         }// [UIButton] ID_DOWN
  305.  
  306. }// [UIListBox] ListBox
  307.